package com.nageoffer.shortlink.admin.common.constant;

/**
 * 短链接后端 redis 缓存常量类
 */
public class RedisCacheConstant {

    /**
     * 用户注册分布式锁key
     */
    public static final String LOCK_USER_REGISTER_KEY = "short-link:lock_user:register:";

    /**
     * 用户登录缓存key
     */
    public static final String USER_LOGIN_KEY = "short-link:user:login:";

    /**
     * 分组创建分布式锁key
     */
    public static final String USER_GROUP_CREATE_KEY = "short-link:lock_group:create:%s";

    /**
     * 短链接跳转前缀key
     */
    public static final String GOTO_SHORT_LINK_KEY = "short-link:goto:%s";

}
